home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
midi
/
omed_pt.lha
/
rexx
/
Insert.omed
< prev
next >
Wrap
Text File
|
1996-01-02
|
442b
|
20 lines
/* Insert Buffer - Case 18-10-95 */
address OCTAMED_REXX
options results
call open("rn_length","T:rn_length.omedtemp",R)
length = readln("rn_length")
call close("rn_length")
'ed_getcurrline var currline'
'ed_getnumlines var numlines'
if currline + length >= numlines
then do
length = numlines - currline
currline = 0 - length
end
'ed_insertemptynote Insspace' length
'rn_paste'
'ed_goto line' currline + length
'wi_showstring INSERTED'
exit